package com.entrogy.service.impl;

import com.entrogy.bean.MachineEntity;
import com.entrogy.dao.MachineMapper;
import com.entrogy.service.MachineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MachineServiceImpl implements MachineService {

	@Autowired
	private MachineMapper machineMapper;

	@Override
	public List<MachineEntity> listMachine(MachineEntity machine) {
		return machineMapper.listMachine(machine);
	}

	@Override
	public List<String> listMachineId(MachineEntity machine) {
		return machineMapper.listMachineId(machine);
	}


}
